package com.shiny.kittyfat.activity;


import android.graphics.drawable.AnimationDrawable;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import com.shiny.kittyfat.R;
import com.shiny.kittyfat.activity.base.BaseActivity;

public class MainActivity extends BaseActivity {

    /**Ui*/
    /*private final int mArrayViewIds[] = {
            R.id.menu_tab,
            R.id.menu_setting,
            R.id.menu_version,
            R.id.menu_media_list,
            R.id.menu_ctrl_set
    };
    private View mViews[] = null;*/

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutId());
        initViews();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_main_layout;
    }

    @Override
    protected void initViews() {
       /* mViews = new View[mArrayViewIds.length];
        for (int index = 0; index < mArrayViewIds.length; index++){
            mViews[index] = findViewById(mArrayViewIds[index]);
        }*/
    }

    @Override
    protected void initData() {

    }

   /* protected void onClick(View view){

        switch (view.getId()){
            case R.id.menu_tab:
               // mViews[0].setBackgroundColor(getResources().getColor(R.color.color_00ffffff));
               // AnimationDrawable anim = (AnimationDrawable) ((ImageView)mViews[0]).getDrawable();
               // anim.start();



                break;

            case R.id.menu_setting:

                break;

            case R.id.menu_version:

                break;

            case R.id.menu_media_list:

                break;

            case R.id.menu_ctrl_set:

                break;
        }
        return;
    }*/
}
